<!--{assign var="page_title" value="`$_keyword_adwords`"}-->
<!--{include file="header.html"}-->
<div class="wrap clearfix">
    <div class="sidebar">
       <div class="sidebar_menu">
         <!--{include file="menu.html"}-->
       </div>
    </div>
     <div class="main_content">
     <div class="blank"></div>
	 <div class="offer_banner"><img src="images/offer_01.gif" /></div>
     <div class="offer_info_title"><h2>{$page_title}</h2></div>
      <table class="offer_count">
         <tr>
          <td>&nbsp;</td>
          <td class="height35"><a title="{lang release}" href="spread.php?do=edit" class="btn_publish">{lang add}{lang keyword_advertising}</a></td>
        </tr>
      </table>      
      <form name="listfrm" action="{$smarty.server.PHP_SELF}" method="post">
	  <!-- {formhash} -->
      <table class="offer_publish_list">
        <tr>
          <td>
          <table class="bglist">
            <tr>
              <th>{lang words}</th>
              <th>{lang the_title}</th>
              <th>{lang link_address}</th>
              <th>{lang state}</th>
              <th>{lang expire_date}</th>
            </tr>
			<!--{foreach from=$Items item=item}-->
            <tr align="center" class="bgwhite">
              <td><a href="{$SiteUrl}{the_url module=search do=product q=`$item.keyword_name`}" target="_blank" style="text-decoration:underline;">{$item.keyword_name}</a></td>
              <td>{$item.title}</td>
              <td><a href="{$item.target_url}" target="_blank" style="text-decoration:underline;">{$item.target_url}</a></td>
              <td>{$CheckStatus[$item.status]}</td>
              <td>{$item.exp_date}</td>
            </tr>
			<!--{foreachelse}-->
			<tr><td colspan="6"><a href="spread.php?do=edit">{lang no_datas}</a></td></tr>
			<!--{/foreach}-->
          </table></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>
          <table class="room_pages">
              <tr>
                <td>{$ByPages}</td>
              </tr>
          </table>
          </td>
        </tr>
      </table>
      </form>
    </div>
</div>
<!--{include file="footer.html"}-->